<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>字体显示CSS</title>
    <style>
        .container{
            width: 300px;
            margin: 100px auto;
        }
        p.wrap-word{
            width:100px;
            border: 1px solid black;
            word-wrap: break-word;
        }
    </style>
</head>
<body>
    <div class="container">
        <p class="wrap-word">
            这是非常长的单词的示例：qwertyuiosdfghjklqwertyuizxcvbnqwerty
        </p>
    </div>
</body>
</html>